home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 501-525 / disk_513 / newlist / aliases < prev    next >
Text File  |  1992-05-06  |  2KB  |  52 lines

  1. ;Here are some aliases to try.
  2. ;
  3. ; dir     -  output similar to dir opt s
  4. ; mrdir   -  two column dir.
  5. ; list    -  output of Commodore `list`
  6. ; ls      -  output of ls
  7. ; script  -  basics to make a script file.  Only need to add custom format
  8. ;               ie  script >ram:script dh0:*.c -F "copy \'%P\' to ram:"
  9. ;            If you prefer less's pager, you can pipe nl's data to it
  10. ;            with this command:  script dh0: | c:less
  11. ;
  12. ; find    -  Like UNIX find.  Will print exact path of files without
  13. ;            anytype of headers or footers.  
  14. ;            usage  find RootPath[:/]FilePattern
  15. ;               ie  find dh0:*.lzh      finds all    lzh files on dh0:
  16. ;                   find dh0:source/*.o finds all object files in dh0:source
  17. ;                  
  18. ; color   -  shows off ansi sequencing to produce color, italics, bold, etc.
  19. ;            Here's some hints:
  20. ;               \e[0m  plain text          \e[30-39m  Forground color
  21. ;               \e[1m  bold  text          \e[41-49m  Background color
  22. ;               \e[3m  italic text         \e[7m      Inverse Video
  23. ;               \e[4m  underline text
  24. ;
  25. ; dirtype -  ls with filetypes!  If you use comments right you can have
  26. ;            nice informative directories.  Simply put a filenote on each
  27. ;            file giving it a category.  Now when you dirtype, you'll
  28. ;            have a new wealth of information.  Here's an example output:
  29. ;
  30. ;Directory of "Dh1:newlist5" on 18-Jun-91 00:10:18 AM
  31. ; -s--rwed   Jun 18 00:06 script    2415 Aliases
  32. ; ----rwed   Jun 09 02:33   text     353 Commodore.README
  33. ; ----rwed   Jun 15 00:06   text   16327 NewList.doc
  34. ; ----rwed   Jun 15 00:06   text   11410 History
  35. ; ----rwed   Jun 09 02:33   text    2904 Times.doc
  36. ; ----rwed   Jun 13 02:06   icon     880 Times.doc.info
  37. ; --p-rwed   Jun 17 15:06   util   18112 NewList
  38. ;7 files - 0 dirs - 116 blocks - 54850 bytes
  39. ; Neat eh?
  40.  
  41. alias dir    nl -qs -gb -y 2 []
  42. alias list   nl -z []
  43. alias ls     nl -s []
  44. alias mrdir  nl -q -gb -y 2 []
  45. alias script nl -h -T []
  46. alias find   nl -H -h -s -T -F "%P" []
  47. alias dirtype nl -F " %p   %d %6N %7v %n" -df "%3M %2d %02h:%02m" -sc []
  48. alias weird   nl -F " %22n  %-7s" -s []
  49. alias odd     nl -F " %d   %p %c %7v  %n" -df "%02m.%02d.%02y" -s []
  50. alias color   nl -F "\e[3;42;31m%22n \e[0m  \e[1;43;32m%p \e[0m  \e[0;32;41m%-7v\e[0m %d" -df "\e[4m%02d.%03M.%02y\e[0m \e[33m%02h:%02n:%02s\e[0m" -s -gb []
  51.